load("@aspect_rules_js//js:defs.bzl", "js_binary")
load("//tools:defaults.bzl", "ts_project")

package(default_visibility = ["//visibility:public"])

js_binary(
    name = "package-docs-content",
    data = [
        ":sources",
    ],
    entry_point = ":package-docs-content.js",
)

ts_project(
    name = "sources",
    srcs = glob(["**/*.ts"]),
    tsconfig = "//tools:tsconfig",
    deps = [
        "//:node_modules/@types/fs-extra",
        "//:node_modules/fs-extra",
    ],
)
